<?php
namespace app\common\exception;
use app\common\exception\BaseException;

/**
* 客户端请求的语法错误异常类
*/
class ReqException extends BaseException
{
	protected $code 		= 400;
	protected $message 	    = '参数有误';
	protected $errorCode 	= 2000000;
	/**
	 *  $errorCode => $message
	 */
	protected $info 		= [
		2000000 => '参数有误',
		2000001 => "404 Not Found",
		2000002 => "版本控制器必须继承版本控制器基类：app\\common\\tools\\Version",
		2000003 => "没有版本号"
	];
}